/*
 * Merger.h
 *
 *  Created on: Mar 28, 2012
 *      Author: pleun
 */

#ifndef MERGER_H_
#define MERGER_H_

#include "conc/Thread.h"
#include <iostream>
#include "IOcard.h"

using namespace std;

class Merger: public Thread{
private:
	int nummer;
	IOcard* iocard;
	char buffer[3];
	int  camerabuffer[3];
public:
	Merger(int nr,IOcard* io):
		Thread("Merger"), nummer(nr), iocard(io) {
		setName(nr);
	};
	void run();
	void setBeeldInBuffer(char beeld, int cameraID);
	void setBeeld(char beeld, int cameraID);
};

#endif /* MERGER_H_ */
